package com.hbfk.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;

@PropertySource("classpath:yinmai.properties")
public class YinMaiUrlStatic {
	
	// 是否调用引迈  0调用  1 弃用
	public static Integer status = 0;
	
	// 普通用户初始化模块功能
	public static String rightNames = "工作流程,";
	
	// 引迈用户通用密码
	public static String ymPassword = "hbyun@123456";
	
	// 引迈访问地址
	public static String interfaceUrl = "http://127.0.0.1:30000";
	
	// 引迈登录获取token地址
	public static String singelSignUrl = "/api/oauth/Login";
	
	// 公司集合地址
	public static String orgListUrl = "/api/permission/Organize";
	
	// 保存公司地址
	public static String saveOrgUrl = "/api/permission/Organize";
	
	// 保存部门地址
	public static String saveDeptUrl = "/api/permission/Organize/Department";
	
	// 保存角色地址
	public static String saveRoleUrl = "/api/permission/Role";
	
	// 修改角色地址
	public static String updateRoleUrl = "/api/permission/Role/";
	
	// 保存用户地址
	public static String saveStaffUrl = "/api/permission/Users";
	
	// 修改用户地址
	public static String updateStaffUrl = "/api/permission/Users";
	
	// 修改用户密码地址
	public static String updatePasswordUrl = "/api/permission/Users/#{id}/Actions/ResetPassword";
	
	// 获取权限接口地址
	public static String authorityAllUrl = "/api/permission/Authority/Data/#{id}/Values";
	
	// 单个角色授权地址
	public static String grantRoleRight = "/api/permission/Authority/Data/#{id}";
	
	// 工作流列表页面地址
	public static String getWorkFlowInfo = "/api/workflow/Engine/FlowEngine";
	
	// 获取审批节点
	public static String getApprovalUser = "/api/workflow/Engine/FlowBefore/Candidates/#{id}";
	
	// 提交审批
	public static String submitFlow = "/api/workflow/Engine/FlowTask/#{id}";
}
